<?php
class PiVoucherDetail extends AppModel {
    var $useDbConfig  = 'mssql';
    var $useTable     = 'piVoucherdetails';
    var $primaryKey   = 'piVoucherdetailID';
    var $displayField = 'documentno';
    var $name         = 'PiVoucherDetail';
    /*var $belongsTo = array(
        'PiVoucherDetail' => array(
            'className'  => 'PiVoucherDetail',
            'foreignKey' => 'piVoucherHeaderID',
            'fields'     => 'documentno, Debit',
            'order'      => 'documentno ASC'
        )
    );*/
} // PiVoucherDetail
?>